package com.idc.quotation.config;

import java.util.Set;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

/**
 * Created By JNNarrator on 2022/10/20 10:22
 * email: jiangn09@chinatelecom.cn
 */
@Configuration
@ConfigurationProperties("login")
@Data
public class LoginConfig {

	// 验证码有效期
	private int smsCodeValiditySeconds;
	// 连续输入验证码错误次数
	private int errorTimes;
	// token秘钥
	private String tokenSecretKey;
	// token有效期 单位小时
	private long tokenExpirationTime;
	// 开通测试账号
	private Set<String> testAccount;

}